<!DOCTYPE html>
<html>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Map - Display a map</title>
  <style type="text/css">
    html,body{margin:0px;height:100%;width:100%}
    .container{width:100%;height:100%}
  </style>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/maptalks/dist/maptalks.css">
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/maptalks/dist/maptalks.min.js"></script>
  <body>

    <div id="map" class="container"></div>

    <script>
    var satelliteImageURL = 'http://t0.tianditu.com/DataServer?T={s}&x={x}&y={y}&l={z}&tk=95f0a5688ec713adb3dd1735533f6fcb';
    var map = new maptalks.Map('map', {
        center: [106.68243, 26.22207],
        zoom: 14,
        baseLayer: new maptalks.TileLayer('base', { urlTemplate: satelliteImageURL, subdomains: ['vec_w'] }),
        layers: [ new maptalks.TileLayer('base1', { urlTemplate: satelliteImageURL, subdomains: ['cva_w'] }) ],
    });
    </script>
  </body>
</html>
